//
//  LHNetworkTool.m
//  OCSinaWeibo
//
//  Created by LiHong on 15/11/2.
//  Copyright © 2015年 LiHong. All rights reserved.
//

#import "LHNetworkTool.h"
#import "AFNetworking.h"
typedef void(^finish)(NSObject *success , NSError *error);
@implementation LHNetworkTool
- (void)loadAccessTokenWithCode:(NSString *)code finish:(finish)finish{
    AFHTTPSessionManager *manager = [AFHTTPSessionManager manager];
    NSString *urlString = @"https://api.weibo.com/oauth2/access_token";
    NSDictionary *parameters = @{
                                 @"client_id" : client_id,
                                 @"client_secret": client_secret,
                                 @"grant_type": grant_type,
                                 @"code": code,
                                 @"redirect_uri": redirect_uri
                                 };

}
@end
